<!-- Fixed navbar -->
		<div class="navbar navbar-inverse navbar-fixed-top">
			<div class="container">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="<?php echo base_url()?>pages/index"><img src="<?php echo base_url()?>images/logoLF.png" alt="Perfekta. Multipurpose Site Theme." class="img-responsive" /></a>
				</div>
				<div class="navbar-collapse collapse">
					<ul class="nav navbar-nav">
					<?php 
            	   	$url_orginal=$this->uri->uri_string();
            	   if( $this->uri->segment(1)=='en'){
            	   
            	   	$url_redirect_fr=preg_replace("/^en/","fr",$url_orginal);
            	   	$url_redirect_cn=preg_replace("/^en/","cn",$url_orginal);
            	   	$url_redirect_en=$url_orginal;
            	   	
            	   }else if($this->uri->segment(1)=='fr')
            	   {
            	   		$url_redirect_en=preg_replace("/^fr/","en",$url_orginal);
            	   		$url_redirect_cn=preg_replace("/^fr/","cn",$url_orginal);
            	   		$url_redirect_fr=$url_orginal;
            	   }
            	   else  if($this->uri->segment(1)=='cn'){
            	   	
            	   		$url_redirect_en=preg_replace("/^cn/","en",$url_orginal);
            	   		$url_redirect_fr=preg_replace("/^cn/","fr",$url_orginal);
            	   		$url_redirect_cn=$url_orginal;
            	   		} else
            	   		{
            	   				$url_redirect_fr="fr/".$url_orginal;	
				            	$url_redirect_cn="cn/".$url_orginal;	
				            	$url_redirect_en="en/".$url_orginal;	
            	   			
            	   		}
            	    ?>
					
						<li class="dropdown">
							<li><a href="<?php echo base_url().$lang?>/pages/index"><?php echo lang("home")?></a></li>
						</li>
						
						
						<li class="dropdown">
							<li><a href="<?php echo base_url().$lang?>/pages/aboutus"><?php echo lang("about_us")?></a></li>
						</li>
						
						
					
						
						
						<li class="dropdown">
							<li><a href="<?php echo base_url().$lang?>/pages/latestproducts"><?php echo lang("our_products")?></a></li>
						</li>
						
						
						
						
					
						
						<li class="dropdown">
							<li>
							
							<a href="<?php echo base_url().$lang?>/pages/contactus"><?php echo lang("contact_us")?></a>
							
							</li>
						</li>
						
						
						
						
						
						
						<li class="dropdown">
							<li>
							<a class="navbar-brand" href="<?php echo base_url().$url_redirect_en; ?>"><img src="<?php echo base_url()?>images/en_icon.png" alt="Perfekta. Multipurpose Site Theme." class="img-responsive" /></a>
							</li>
						</li>
						
						
						<li class="dropdown">
							<li>
							<a class="navbar-brand" href="<?php echo base_url().$url_redirect_fr; ?>"><img src="<?php echo base_url()?>images/fr_icon.png" alt="Perfekta. Multipurpose Site Theme." class="img-responsive" /></a>
							</li>
						</li>
						
						
						<li class="dropdown">
							<li>
							<a class="navbar-brand" href="<?php echo base_url().$url_redirect_cn;?>"><img src="<?php echo base_url()?>images/chi_icon.png" alt="Perfekta. Multipurpose Site Theme." class="img-responsive" /></a>
							</li>
						</li>
						
						
						
						
						
					</ul>
				</div><!--/.nav-collapse -->
			</div><!--/.container -->
		</div><!--/.navbar -->
